[BETA] Upsert segments with the provided information.
Auction examples
- Running auctions
- Sponsored listings
- Sponsored banners
- Sponsored brands
Asset examples
Webhook examples
Toptimize
Assets API
Billing API
- GETGet Marketplace Credit Limit
- POSTSet Marketplace Credit Limit
- GETGet Vendor Charges
- GETGet Vendor Account Activity
- GETGet Vendor Balance
- POSTAdd Vendor Balance
- POSTBurn Vendor Balance
- GETGet Vendor Credit History
- GETGet Vendor Credit Limit
- POSTSet Vendor Credit Limit
- GETGet Vendor Wallets
- POSTCreate Wallet
- POSTAdjust Wallet Balance
Campaign API
- GETGet Campaigns
- POSTCreate Campaign
- GETGet Campaign By Id
- DELDelete Campaign By Id
- PATCHUpdate Campaign By Id
- GETGet Campaign Bids
- POSTCreate Campaign Bids
- DELDelete Campaign Bid By Id
- PATCHUpdate Campaign Bid By Id
- POST[BETA] Get estimated clicks of a future campaign for a given vendor
- GETGet Products In Campaign
- GETGet Sponsored Products
Catalog API
Invitation API
Modal API
Reporting API
Segments Service
Toppie API
- GET[BETA] Get Toppie Campaigns
- POST[BETA] Create Toppie Campaign
- GET[BETA] Get Toppie Campaign Details
- GET[BETA] Get Toppie Campaign Bids
- GETGet Agency Account Report
- GETGet Agency Account Activity
- GETGet Agency Account Campaigns
- GETGet Account Campaigns By Ids
- GETGet Agency Campaign Report
- GETGet Campaign Report Per Product
[BETA] Upsert segments with the provided information.
Upsert segments with the provided information.
PUT
/
public
/
v1
/
segment-service
/
segments
curl --request PUT \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
]
}'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}
Body
application/json
curl --request PUT \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
]
}'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}